package com.hqm.meta;

/**
 * 商品对象
 * @author hqm2zxy
 *
 */
public class Product {
	
    private Integer id;		//商品ID
    private Double price;	//商品价格
    private String title;	//商品名称
    private String icon;	//商品图片
    private String summary;	//商品摘要
    private String detail;	//商品详情
    private Byte isBuy;		
    private Double buyPrice;	
    private Integer buyNum;
    private Byte isSell;
    private Integer saleNum;

    public Byte getIsBuy() {
		return isBuy;
	}

	public void setIsBuy(Byte isBuy) {
		this.isBuy = isBuy;
	}

	public Double getBuyPrice() {
		return buyPrice;
	}

	public void setBuyPrice(Double buyPrice) {
		this.buyPrice = buyPrice;
	}

	public Integer getBuyNum() {
		return buyNum;
	}

	public void setBuyNum(Integer buyNum) {
		this.buyNum = buyNum;
	}

	public Byte getIsSell() {
		return isSell;
	}

	public void setIsSell(Byte isSell) {
		this.isSell = isSell;
	}

	public Integer getSaleNum() {
		return saleNum;
	}

	public void setSaleNum(Integer saleNum) {
		this.saleNum = saleNum;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon == null ? null : icon.trim();
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary == null ? null : summary.trim();
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail == null ? null : detail.trim();
    }
    
}